import type { RouteRecordRaw } from 'vue-router'

// 定义小仓库数据state类型
export interface UserState {
  token: string | null,
  /* 路由里每一个路由的类型都是：RouteRecordRaw*/
  menuRoutes: [RouteRecordRaw],
  username:string,
  avatar:string,
}